package com.smart.common.utils;

import java.math.BigDecimal;
import java.math.RoundingMode;

public class MathUtils {
	
	/**
	 * 功能描述:圆转分
	 * @param totalFee
	 * @return
	 */
	public static String circleToCent(String totalFee){
		BigDecimal bg = new BigDecimal(totalFee).setScale(2, RoundingMode.UP);
		String str = bg.multiply(new BigDecimal("100")).toString();
		String[] split = str.split("\\.");
		return split[0];
	}

}
